package com.hualude.roadsign.model;

import javax.persistence.*;

/**
 * Created by xu_jiaHui on 2018/4/1.
 */
@Entity
@Table(name = "tb_alarm_push", schema = "hualude_db", catalog = "")
public class AlarmPushEntity {
    private Integer alarmPushId;
    private Integer alarmPushType;
    private String alarmPushContent;
    private String alarmPushTime;
    private String alarmPushToOrgIds;
    private String alarmPushToActorIds;
    private String alarmDeviceId;

    @Id
    @Column(name = "AlarmPushId", nullable = false)
    public Integer getAlarmPushId() {
        return alarmPushId;
    }

    public void setAlarmPushId(Integer alarmPushId) {
        this.alarmPushId = alarmPushId;
    }

    @Basic
    @Column(name = "AlarmPushType", nullable = true)
    public Integer getAlarmPushType() {
        return alarmPushType;
    }

    public void setAlarmPushType(Integer alarmPushType) {
        this.alarmPushType = alarmPushType;
    }

    @Basic
    @Column(name = "AlarmPushContent", nullable = true, length = 255)
    public String getAlarmPushContent() {
        return alarmPushContent;
    }

    public void setAlarmPushContent(String alarmPushContent) {
        this.alarmPushContent = alarmPushContent;
    }

    @Basic
    @Column(name = "AlarmPushTime", nullable = true, length = 20)
    public String getAlarmPushTime() {
        return alarmPushTime;
    }

    public void setAlarmPushTime(String alarmPushTime) {
        this.alarmPushTime = alarmPushTime;
    }

    @Basic
    @Column(name = "AlarmPushToOrgIds", nullable = true, length = 50)
    public String getAlarmPushToOrgIds() {
        return alarmPushToOrgIds;
    }

    public void setAlarmPushToOrgIds(String alarmPushToOrgIds) {
        this.alarmPushToOrgIds = alarmPushToOrgIds;
    }

    @Basic
    @Column(name = "AlarmPushToActorIds", nullable = true, length = 20)
    public String getAlarmPushToActorIds() {
        return alarmPushToActorIds;
    }

    public void setAlarmPushToActorIds(String alarmPushToActorIds) {
        this.alarmPushToActorIds = alarmPushToActorIds;
    }

    @Basic
    @Column(name = "AlarmDeviceId", nullable = true, length = 8)
    public String getAlarmDeviceId() {
        return alarmDeviceId;
    }

    public void setAlarmDeviceId(String alarmDeviceId) {
        this.alarmDeviceId = alarmDeviceId;
    }

}
